package com.cskaoyan.service.mall;

import com.cskaoyan.model.bean.Brand;
import com.cskaoyan.model.bean.Category;
import com.cskaoyan.model.bo.PageBo;
import com.cskaoyan.model.bo.mall.BrandCreatBo;
import com.cskaoyan.model.vo.mall.BrandVo;
import com.cskaoyan.model.vo.mall.CategoryHasChildrenVo;
import com.cskaoyan.model.vo.mall.CategoryL1Vo;
import com.cskaoyan.model.vo.mall.RegionBeanVo;

import java.util.List;

public interface MallService {


    List<RegionBeanVo> getRegionList();

    BrandVo getBrandList(PageBo pageBo, Integer id, String name);


    Brand brandCreate(BrandCreatBo brandCreatBo);

    Brand brandUpdate(Brand brand);

    int brandDelete(int id);

    List<CategoryHasChildrenVo> getCategoryList();

    List<CategoryL1Vo> getL1List();

    int categoryUpdate(Category category);

    int categoryCreat(Category category);

    int categoryDelete(Integer id);
}
